package com.ruoyi.diagnosis.domain;

import java.math.BigDecimal;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 扫描结果对象 dgn_result
 * 
 * @author fansea
 * @date 2024-07-15
 */
public class Result extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 设备号 */
    @Excel(name = "设备号")
    private String device;

    /** 医生id */
    @Excel(name = "医生id")
    private Long doctorId;

    /** 患者编号 */
    @Excel(name = "患者编号")
    private String patientCode;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private String patientName;

    /** 部位 */
    @Excel(name = "部位")
    private Long part;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 采集次数 */
    @Excel(name = "采集次数")
    private Long frequency;

    /** 图像id */
    @Excel(name = "图像id")
    private Long figureId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String imgUrl;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal totalLength;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal volume;

    /** 历史记录信息 */
    private List<Detail> detailList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDevice(String device) 
    {
        this.device = device;
    }

    public String getDevice() 
    {
        return device;
    }
    public void setDoctorId(Long doctorId) 
    {
        this.doctorId = doctorId;
    }

    public Long getDoctorId() 
    {
        return doctorId;
    }
    public void setPatientCode(String patientCode) 
    {
        this.patientCode = patientCode;
    }

    public String getPatientCode() 
    {
        return patientCode;
    }
    public void setPatientName(String patientName) 
    {
        this.patientName = patientName;
    }

    public String getPatientName() 
    {
        return patientName;
    }
    public void setPart(Long part) 
    {
        this.part = part;
    }

    public Long getPart() 
    {
        return part;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setFrequency(Long frequency) 
    {
        this.frequency = frequency;
    }

    public Long getFrequency() 
    {
        return frequency;
    }
    public void setFigureId(Long figureId) 
    {
        this.figureId = figureId;
    }

    public Long getFigureId() 
    {
        return figureId;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setTotalLength(BigDecimal totalLength) 
    {
        this.totalLength = totalLength;
    }

    public BigDecimal getTotalLength() 
    {
        return totalLength;
    }
    public void setVolume(BigDecimal volume) 
    {
        this.volume = volume;
    }

    public BigDecimal getVolume() 
    {
        return volume;
    }

    public List<Detail> getDetailList()
    {
        return detailList;
    }

    public void setDetailList(List<Detail> detailList)
    {
        this.detailList = detailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("device", getDevice())
            .append("doctorId", getDoctorId())
            .append("patientCode", getPatientCode())
            .append("patientName", getPatientName())
            .append("part", getPart())
            .append("state", getState())
            .append("description", getDescription())
            .append("frequency", getFrequency())
            .append("figureId", getFigureId())
            .append("imgUrl", getImgUrl())
            .append("totalLength", getTotalLength())
            .append("volume", getVolume())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("detailList", getDetailList())
            .toString();
    }
}
